-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experimental Docker support (kic) using the Kind image #6151
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
Error: running mkcmp: exit status 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a HUGEEE PR!!
I was wondering if you could break this into multiple PRs by functionality and refactors.
e.g.
-
First a very small PR with just the refactors
pkg/minikube/bootstrapper/kubeadmin/rbac -> pkg/minikube/bootstrapper/bsutil and add a new file for each version in the pkg/minikube/bootstrapper/bsutil/template
Refactor codedaddAddOns
tobsutils.AddAddOns
-
you have a bunch of file changes with spaces fixes e.g. "cmd/minikube/cmd/config/configure.go", pkg/util/crypto.go and pkg/minikube/service/service_test.go. Can you create a separate PR to fixes this style for all files ? or configure your editor to not change these.
-
Refactor from
APIServerPort
toHostBindPort
and usingconstants.APIServerPort
. They look independent to this PR. -
Implement the unimplemented methods in
kicbs
with tests added if required. -
Finally add the command line flags and Dockerfiles i.e the user facing changes.
This might take time but all of 1 to 4 can be done in parallel and then once the first 4 PRs are merged, you can submit 5.
All Times minikube: [ 126.594255 127.899829 125.960533] Average minikube: 126.818206 Averages Time Per Log
|
All Times minikube: [ 127.922207 127.134146 128.197147] Average Minikube (PR 6151): 127.365778 Averages Time Per Log
|
All Times minikube: [ 124.522627 123.938520 126.785512] Average Minikube (PR 6151): 126.850421 Averages Time Per Log
|
All Times minikube: [ 121.445702 121.219874 121.836477] Average minikube: 121.500684 Averages Time Per Log
|
Codecov Report
@@ Coverage Diff @@
## master #6151 +/- ##
==========================================
- Coverage 38.5% 38.19% -0.31%
==========================================
Files 122 124 +2
Lines 8145 8223 +78
==========================================
+ Hits 3136 3141 +5
- Misses 4600 4674 +74
+ Partials 409 408 -1
|
All Times minikube: [ 125.153742 121.529237 121.751275] Average minikube: 122.811418 Averages Time Per Log
|
All Times minikube: [ 126.594585 123.794024 121.609659] Average minikube: 123.999423 Averages Time Per Log
|
Merry Xmas ☀️! this PR is in a merg-able state by xmas ! the experimental version of KIC is ready to try !
All handmade Persian Carpets have one intentional mistake in them to imply no human is perfect !
this PR has more than one one mistake and none of them are intentional . 🙃
Give it a try:
This PR reuses the ideas and Docker image provided by https://kind.sigs.k8s.io/